package com.violet.mvpdemo.di;

import com.violet.mvpdemo.mvp.MainContact;
import com.violet.mvpdemo.mvp.view.MainDelegate;

import dagger.Binds;
import dagger.Module;
import dagger.hilt.InstallIn;
import dagger.hilt.android.components.ActivityComponent;

@Module
@InstallIn(ActivityComponent.class)
public abstract class ActivityModule {

    @Binds
    abstract MainContact.Delegate bindMainView(MainDelegate view);
}
